
package com.mephi.model.profile;


import com.mephi.interfaces.Profile;


/**
 * A singleton, it is a simple wrapper. 
 * @author mephisto
 * 2011-05-28
 */
public enum ProfileMapSingleton
{
	INSTANCE;
	
	/**
	 * 
	 * @return the created and used profiles in the current session
	 */
	public com.mephi.interfaces.ConcurrentMap<String, Profile> getProfiles()
	{
		return profiles;
	}
	
	private ProfileMapSingleton()
	{
		profiles = new ConcurrentProfileMapImpl();
	}
	
	
	@SuppressWarnings("unused")
	private com.mephi.interfaces.ConcurrentMap<String, Profile> profiles;
}
